<?php
/**
 * Class AgentAddressGroup
 * Desc 代理地址组Model
 * Create on 2021/8/26 14:58
 * Create by wangyafang
 */

namespace app\api\model\xyb;


class AgentAddressGroup extends Base
{
    protected $name = 'xyb_agent_address_group';

    public function address()
    {
        return $this->hasMany('AgentAddress','group_id','id')->order('weigh desc,id desc');
    }

}